<?php
/**
 * Base rule
 * This is a rule that all rules that tie directly in with this library should
 * extend as it makes models available to rules.
 *
 * @package     Visi
 * @subpackage  Rules
 * @author      Luke Visinoni <luke.visinoni@gmail.com>
 * @copyright   (c) 2010 Luke Visinoni <luke.visinoni@gmail.com>
 * @version     $Id$
 */
abstract class Visi_Rule_Abstract extends Q_Rule_Abstract {

    /**
     * Similar to the other getModel() methods
     */
    protected function _getModel($model) {
    
        $catalog = Zend_Controller_Action_HelperBroker::getExistingHelper('ModelCatalog');
        return $catalog->direct($model);
    
    }

}